//
//  TjianCollectionViewCell.m
//  NBTripe
//
//  Created by 陈曦 on 16/1/12.
//  Copyright © 2016年 Vicki. All rights reserved.
//

#import "TjianCollectionViewCell.h"

@interface TjianCollectionViewCell ()
@property (strong, nonatomic) IBOutlet UIImageView *backGound;
@property (strong, nonatomic) IBOutlet UILabel *name;

@end

@implementation TjianCollectionViewCell

-(void)setHoModel:(HottestSitesModel *)hoModel {
    if (_hoModel != hoModel) {
        _hoModel = hoModel;
    }
    [self.backGound sd_setImageWithURL:[NSURL URLWithString:_hoModel.cover_s]];
    self.name.text = _hoModel.name;
}
- (void)awakeFromNib {
    // Initialization code
}

@end
